﻿using ProtoBuf;

namespace Remoting.Reactive.ProtoBuf
{
    [ProtoContract]
    [ProtoInclude(1, typeof(ActivationResponse))]
    [ProtoInclude(2, typeof(SubscribeResponse))]
    public abstract class Response : Message, IResponse
    {
        [ProtoMember(1)]
        public string RequestId { get; set; }

        public override MessageKind MessageKind { get { return MessageKind.Response; } }
        public abstract ResponseKind ResponseKind { get; }
    }
}
